package com.ty.paypal.core.d;

import com.paypal.http.annotations.Model;
import com.paypal.http.annotations.SerializedName;

/**
* @author ty
* @createDate 创建时间：2020年2月22日 下午6:58:05
**/
@Model
public class Money extends com.paypal.orders.Money {

	@SerializedName("currency")
	private String currency;

	public String currency() { return currency; }

	public Money currency(String currency) {
	    this.currency = currency;
	    return this;
	}
	
	// Required default constructor
    public Money() {}
 
	/**
	* REQUIRED
	* The value, which might be:<ul><li>An integer for currencies like `JPY` that are not typically fractional.</li><li>A decimal fraction for currencies like `TND` that are subdivided into thousandths.</li></ul>For the required number of decimal places for a currency code, see [Currency Codes](/docs/integration/direct/rest/currency-codes/).
	*/
	@SerializedName("value")
	private String value;

	public String value() { return value; }

	public Money value(String value) {
	    this.value = value;
	    return this;
	}
	
}
